/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const usersRouter = {
  path: '/users',
  component: Layout,
  redirect: '/users/list',
  name: 'users',
  meta: {
    title: '用户管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/users/list'),
      name: 'list',
      meta: { title: '用户列表', noCache: true }
    },
    {
        path: 'check',
        component: () => import('@/views/users/check'),
        name: 'check',
        meta: { title: '买手审核', noCache: true }
      }
  ]
}

export default usersRouter
